<?php

abstract class StockP_broker_Broker {
	protected $username;
	protected $password;
	
	public function initialize($username, $password) {
		$this->username = $username;
		$this->password = $password;
	}
	
	public abstract function getCommissionFee($type, $mode, $unitPrice, $shareCount);
	
	public abstract function quote($symbol);
	
	public abstract function transaction($type, $mode, $symbol, $unitPrice, $shareCount);
}

?>